package com.combat.text.user.service;

import com.combat.text.user.entity.userroot;
import com.combat.text.user.mapper.PowerMapper;
import com.combat.text.user.mapper.u_rMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author： Lizehui
 * @date: 2020/12/18 17:09
 * @Description:
 */
@Service
public class PowerService {
    @Autowired
    PowerMapper powerMapper;

    public List<Map<String,Object>> show(int post){
        return  powerMapper.selectPower(post);
    }

    public List<Map<String,Object>> show1(int rno) {
        return  powerMapper.selectPower1(rno);
    }



}
